import httpInstance from '@/utils/http.js'

export function loginApi({account,password}){
   return httpInstance({
        url:'/login',
        method:'POST',
        data:{
            account,
            password
        }
    })
}
//获取猜你喜欢数据
export const getLikeListAPI=({limit = 4})=>{
    return httpInstance({
        url:'/goods/relevant',
        params:{
            limit
        }
    })
}